Using textblob library to perform basic sentement analysis.
Text Blob Library Links:
In [1]:
from textblob import TextBlob
In [2]:
sent = TextBlob("This tutorial is the best thing in the history of mankind")
sent
Out[2]:
In [3]:
sent.sentiment
Out[3]:
In [4]:
sent.polarity
Out[4]:
In [5]:
sent.subjectivity
Out[5]: